/*
** gnl_intern.h for libget_next_line in /home/guina_b/
** 
** Made by benoit guina
** Login   <guina_b@epitech.net>
** 
** Started on  Fri Jan 01 00:00:00 2010 benoit guina
** Last update Fri Jan 01 00:00:00 2010 benoit guina
*/

#ifndef H_GNL_INTERN
#define H_GNL_INTERN

#include "get_next_line.h"

typedef struct s_gnl_node
{
  struct s_gnl_node *n;
  char data[GNL_READSIZE + 1];
  int pos;
} t_gnl_node;

int	_gnl_nodes_strlen(t_gnl_node *node, void *len, void *is_ended);
int	_gnl_nodes_strcpy(t_gnl_node *node, void *dest, void *start);
int	_gnl_nodes_free(t_gnl_node *node, void *start, void *unused);

#endif
